
#ifndef   __SIMPHONY_IMSI_RANGES
#define   __SIMPHONY_IMSI_RANGES

typedef struct 
{
		unsigned char Start[8];
		unsigned char Stop[8];

}IMSI_RANGE;


#define   IMSI_RANGES_INDEX_MAX					64

#define   IMSI_RANGES_ADDRESS_MAX		( EX_ADDR_IMSI_RANGES + ( IMSI_RANGES_INDEX_MAX * sizeof(IMSI_RANGE))  )


//extern unsigned int pIMSI_Range;

extern unsigned char SIM_Read;

void IMSI_Range_Clear_All( void );
void IMSI_Range_Init( void );
unsigned char IMSI_Valid ( unsigned char* IMSI_Str  );
void SIM_Watch( void );
unsigned char IMSI_Range_Find( IMSI_RANGE* Range_Testable );

extern unsigned char SIM_Watch_Cycle;

#endif
